#pragma once

#include <QDialog>

namespace Ui {
    class RegWindow;
}

// 注册窗口
class RegWindow: public QDialog {
    Q_OBJECT

    private: Ui::RegWindow* ui; // 界面
    private: int mIconIndex;    // 头像索引
    private: QString mPassword; // 密码
    private: QString mUsername; // 用户名

    public: explicit RegWindow(QWidget*);
    public: ~RegWindow();
    public: int getIconIndex();
    public: const char* getPassword();
    public: const char* getUsername();
    private slots: void on_buttonOK_clicked();
    private slots: void on_buttonCancel_clicked();
};
